package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动管理对象 activity
 * 
 * @author Mr.yuan
 * @date 2024-07-02
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动编号 */
    private Integer activityId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动添加人 */
    @Excel(name = "活动添加人")
    private String activityPeople;

    /** 活动添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityAddtime;

    public void setActivityId(Integer activityId) 
    {
        this.activityId = activityId;
    }

    public Integer getActivityId() 
    {
        return activityId;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityPeople(String activityPeople) 
    {
        this.activityPeople = activityPeople;
    }

    public String getActivityPeople() 
    {
        return activityPeople;
    }
    public void setActivityAddtime(Date activityAddtime) 
    {
        this.activityAddtime = activityAddtime;
    }

    public Date getActivityAddtime() 
    {
        return activityAddtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("activityName", getActivityName())
            .append("activityPeople", getActivityPeople())
            .append("activityAddtime", getActivityAddtime())
            .toString();
    }
}
